package com.yycx.module.system.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yycx.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.yycx.common.mybatis.annotation.TableAlias;

/**
 * 操作日志表
 *
 * @author flyme
 * @date 2024-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_operation_log")
@TableAlias("sol")
@ApiModel(value="SysOperationLog对象", description="操作日志表")
public class SysOperationLog extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "logId", type = IdType.ASSIGN_ID)
    private Long logId;

    @ApiModelProperty(value = "业务ID")
    private String bizId;

    @ApiModelProperty(value = "业务类型")
    private String bizType;

    @ApiModelProperty(value = "方法异常信息")
    private String exception;

    @ApiModelProperty(value = "成功标记")
    private String success;

    @ApiModelProperty(value = "标签")
    private String tag;

    @ApiModelProperty(value = "操作执行时间")
    private Date operateDate;

    @ApiModelProperty(value = "操作内容")
    private String msg;

    @ApiModelProperty(value = "日志内容")
    private String extra;

    @ApiModelProperty(value = "方法结果")
    private String returnStr;

    @ApiModelProperty(value = "操作耗时")
    private Integer executionTime;

    @ApiModelProperty(value = "操作人姓名")
    private String diffDTOList;

}
